<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Result</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.css">
<link href="../style.css" rel="stylesheet" />
</head>
<body onload="PR.prettyPrint()">
<pre class="prettyprint lang-java">
public class Result implements Serializable{

    private Comment[] data; //响应数据
    private int code; //响应码
    private String msg; //响应消息

    public Comment[] getData(){
        return data;
    }

    public void setData(Comment[] data){
        this.data = data;
    }

    public int getCode(){
        return code;
    }

    public void setCode(int code){
        this.code = code;
    }

    public String getMsg(){
        return msg;
    }

    public void setMsg(String msg){
        this.msg = msg;
    }

}
</pre>


<pre class="prettyprint lang-java">
public class Comment implements Serializable{

    private long commentId; //评论id
    private String text; //正文
    private String userName; //评论发表人的名字
    private String userNumber; //评论发表人的QQ号
    private String userImage; //用户头像
    private String imgs; //评论中图片id们
    private int articleId; //文章id
    private int commentReply; //回复评论的id，0代表不是回复
    private String commentReplyName; //回复评论的人的QQ号
    private int support; //点赞、支持数量
    private int examine; //0正在审核，1审核通过，2审核不通过
    private String createTime; //创建时间
    private Comment[] comments; //评论的回复们

    public long getCommentId(){
        return commentId;
    }

    public void setCommentId(long commentId){
        this.commentId = commentId;
    }

    public String getText(){
        return text;
    }

    public void setText(String text){
        this.text = text;
    }

    public String getUserName(){
        return userName;
    }

    public void setUserName(String userName){
        this.userName = userName;
    }

    public String getUserNumber(){
        return userNumber;
    }

    public void setUserNumber(String userNumber){
        this.userNumber = userNumber;
    }

    public String getUserImage(){
        return userImage;
    }

    public void setUserImage(String userImage){
        this.userImage = userImage;
    }

    public String getImgs(){
        return imgs;
    }

    public void setImgs(String imgs){
        this.imgs = imgs;
    }

    public int getArticleId(){
        return articleId;
    }

    public void setArticleId(int articleId){
        this.articleId = articleId;
    }

    public int getCommentReply(){
        return commentReply;
    }

    public void setCommentReply(int commentReply){
        this.commentReply = commentReply;
    }

    public String getCommentReplyName(){
        return commentReplyName;
    }

    public void setCommentReplyName(String commentReplyName){
        this.commentReplyName = commentReplyName;
    }

    public int getSupport(){
        return support;
    }

    public void setSupport(int support){
        this.support = support;
    }

    public int getExamine(){
        return examine;
    }

    public void setExamine(int examine){
        this.examine = examine;
    }

    public String getCreateTime(){
        return createTime;
    }

    public void setCreateTime(String createTime){
        this.createTime = createTime;
    }

    public Comment[] getComments(){
        return comments;
    }

    public void setComments(Comment[] comments){
        this.comments = comments;
    }

}
</pre>




<script src="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.js"></script>
</body>
</html>